package com.example.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.pojo.Classes;

import java.util.List;

public interface ClassesDao {
    List<Classes> getAllClasses();

    IPage<Classes> getClassesPage(int currentPage, int limit);

    String addOrUpdateClasses(Classes Classes);

    Classes getClassInfoById(Long classId);

    String deleteClasses(Long classesId);
}
